use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let s = String::from(input_str);
    let mut set = HashSet::new();

    for c in s.split(',') {
        set.insert(c.trim());
    }
    set.len()
}
